package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.zcf.pojo.pojo.Products;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author loupeng
 * @since 2019-01-25
 */
public class Orderinfo extends Model<Orderinfo> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "order_info_id")
	private String orderInfoId;
	/**
	 * 用户id
	 */
	private String userId;
	/**
	 * '0:代付款 1：待收货 2：待评价 3：退款, 4评价完成 ,5线下核销
	 */
	private Integer status;
	private String addtime;
	private Double totalMoney;
	private String couponMoney;
	private String dinId;
	private String address;
	private String phone;
	private String userName;
	private Integer dinStatus;
	private String dinImage;
	private String myId;
	private String completionTime;
	private String dinName;
	private String payment;
	private String longitude;
	private String latitude;
	private String cid;
	private String orderNumber;
	/**
	 * 预计送达时间
	 */
	private String predictTime;
	@TableField(exist = false)
	private String qijindu;
	@TableField(exist = false)
	private String qiweidu;
	@TableField(exist = false)
	private Products products;
	@TableField(exist = false)
	private List<Orders> orders;
	@TableField(exist = false)
	private String productName;
	@TableField(exist = false)
	private Double productPrice;
	@TableField(exist = false)
	private Integer number;
	@TableField(exist = false)
	private String productId;
	@TableField(exist = false)
	private String shopType;
	@TableField(exist = false)
	private String din_status;
	@TableField(exist = false)
	private String time;
	@TableField(exist = false)
	private String box;
	@TableField(exist = false)
	private Double distance;
	@TableField(exist = false)
	private String qishouphone;
	@TableField(exist = false)
	private String liexing;

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getLiexing() {
		return liexing;
	}

	public void setLiexing(String liexing) {
		this.liexing = liexing;
	}

	public String getQishouphone() {
		return qishouphone;
	}

	public void setQishouphone(String qishouphone) {
		this.qishouphone = qishouphone;
	}

	public String getQijindu() {
		return qijindu;
	}

	public void setQijindu(String qijindu) {
		this.qijindu = qijindu;
	}

	public String getQiweidu() {
		return qiweidu;
	}

	public void setQiweidu(String qiweidu) {
		this.qiweidu = qiweidu;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getBox() {
		return box;
	}

	public void setBox(String box) {
		this.box = box;
	}

	public String getPayment() {
		return payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public String getPredictTime() {
		return predictTime;
	}

	public void setPredictTime(String predictTime) {
		this.predictTime = predictTime;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getDin_status() {
		return din_status;
	}

	public void setDin_status(String din_status) {
		this.din_status = din_status;
	}

	public String getDinName() {
		return dinName;
	}

	public void setDinName(String dinName) {
		this.dinName = dinName;
	}

	public String getShopType() {
		return shopType;
	}

	public void setShopType(String shopType) {
		this.shopType = shopType;
	}

	public String getCompletionTime() {
		return completionTime;
	}

	public void setCompletionTime(String completionTime) {
		this.completionTime = completionTime;
	}

	public Double getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(Double totalMoney) {
		this.totalMoney = totalMoney;
	}

	public String getMyId() {
		return myId;
	}

	public void setMyId(String myId) {
		this.myId = myId;
	}

	public String getDinImage() {
		return dinImage;
	}

	public void setDinImage(String dinImage) {
		this.dinImage = dinImage;
	}

	public Integer getDinStatus() {
		return dinStatus;
	}

	public void setDinStatus(Integer dinStatus) {
		this.dinStatus = dinStatus;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Double getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(Double productPrice) {
		this.productPrice = productPrice;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public List<Orders> getOrders() {
		return orders;
	}

	public void setOrders(List<Orders> orders) {
		this.orders = orders;
	}

	public Products getProducts() {
		return products;
	}

	public void setProducts(Products products) {
		this.products = products;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getCouponMoney() {
		return couponMoney;
	}

	public void setCouponMoney(String couponMoney) {
		this.couponMoney = couponMoney;
	}

	public String getDinId() {
		return dinId;
	}

	public void setDinId(String dinId) {
		this.dinId = dinId;
	}

	public String getOrderInfoId() {
		return orderInfoId;
	}

	public void setOrderInfoId(String orderInfoId) {
		this.orderInfoId = orderInfoId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	@Override
	protected Serializable pkVal() {
		return this.orderInfoId;
	}

	@Override
	public String toString() {
		return "Orderinfo{" + "orderInfoId=" + orderInfoId + ", userId=" + userId + ", status=" + status + ", addtime="
				+ addtime + ", totalMoney=" + totalMoney + "}";
	}
}
